package controleur;

import java.awt.event.ActionEvent;

import javax.swing.AbstractAction;
import javax.swing.Action;

import model.Environnement;
import vue.PanneauPrincipal;

public class Moins extends AbstractAction{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private PanneauPrincipal panPri = null;
	private Environnement env = null;
	public Moins(PanneauPrincipal panneauPrincipal, Environnement env) {
		this.panPri = panneauPrincipal;
		this.env = env;
		putValue( Action.NAME, "-" );
		putValue( Action.SHORT_DESCRIPTION, "Zoom +" );
	}

	@Override
	public void actionPerformed(ActionEvent e) {
		panPri.moins(env);
	}


}
